/*
 * Copyright (c) 2018-2999 九五云信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.live.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yami.shop.common.util.PageParam;
import com.yami.shop.live.comment.model.LiveProdStore;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author LGH
 * @date 2020-08-04 16:57:17
 */
public interface LiveProdStoreMapper extends BaseMapper<LiveProdStore> {

    IPage<LiveProdStore> getPage(@Param("page") PageParam<LiveProdStore> page, @Param("liveProdStore") LiveProdStore liveProdStore);

    IPage<LiveProdStore> pageProdByRoomId(PageParam<LiveProdStore> page, @Param("roomId") Integer roomId);

    void updateBatch(@Param("prodStoreList") List<LiveProdStore> prodStoreList);
}
